import { BasicColumn } from '@/components/Table/src/types/table';

export function getBasicColumns(): BasicColumn[] {
  return [
    {
      title: '模板名称',
      dataIndex: 'name',
      width: 100,
    },
    {
      title: '短信类型',
      dataIndex: 'smsType',
      width: 100,
    },
    {
      title: '消息类型',
      dataIndex: 'templateTypeName',
      width: 100,
    },
    {
      title: '消息内容',
      dataIndex: 'smsZhContent',
      width: 300,
    },
    {
      title: '模板状态',
      dataIndex: 'auditStatus',
      width: 80,
      slots: { customRender: 'status' },
    },
    {
      title: '最后更新时间',
      dataIndex: 'updateTime',
      width: 180,
    },
    {
      title: '创建人',
      dataIndex: 'createBy',
      width: 100,
    },
  ];
}
